package yl.hs.bmipfull.viewmodels;

import java.util.List;

/**
 * 作用:   <br/>
 * 创建时间: 2021-05-21 18:33 <br/>
 *
 * @author 吴高丰
 */
public class OptionModel {
    public Object data;
    private String value;
    private String label;
    private List<OptionModel> children;

    public OptionModel(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public OptionModel(String value, String label, Object data) {
        this.value = value;
        this.label = label;
        this.data = data;
    }

    public OptionModel(String value, String label, List<OptionModel> children) {
        this.value = value;
        this.label = label;
        this.children = children;
    }

    public OptionModel(String value, String label, List<OptionModel> children, Object data) {
        this.value = value;
        this.label = label;
        this.children = children;
        this.data = data;
    }

    public OptionModel() {
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return this.label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public List<OptionModel> getChildren() {
        return children;
    }

    public void setChildren(List<OptionModel> children) {
        this.children = children;
    }
}
